G4GLSTFIL

The G4GLSTFIL command is used to list files in your Google Drive. The list is returned to the physical file G4GDRVPF.

                        List Google Drive Files (G4GLSTFIL)     
             
 Type choices, press Enter.
 Google ID  . . . . . . . . . . .   __________________________________________
 Max Results  . . . . . . . . . .   *ALL          Number, *ALL
                                                  
                            Additional Parameters                               
 
 Retrieve from parent . . . . . .   _________________________
 Retrieve folders . . . . . . . .   *NO           *YES, *NO, *ONLY
 Retrieve trashed files . . . . .   *NO           *YES, *NO, *ONLY
 CCSID  . . . . . . . . . . . . .   819           Number
 Debug  . . . . . . . . . . . . .   *NO           *YES, *NO
 Debug File . . . . . . . . . . .
                                                                         Bottom
 F3=Exit   F4=Prompt   F5=Refresh   F12=Cancel   F13=How to use this display    
 F24=More keys                                                                  
  • Google ID - Enter the Google ID associated with the drive you wish to list.
  • Max Results - Enter the maximum number of results you want to return. The special value of *ALL will return all matching records.
  • Retrieve from Parent - Specify the ID of a folder you wish to retrieve items from. Leave this value blank if you wish to retrieve from all folders. Please note that when specifying a folder ID only the items in the folder will be retrieved and it will not recursively parse sub folders and their items.
  • Retrieve Folders - Specify if you wish to retrieve folder names as well as files. *NO will return file names only, *YES will return file names and folder names, *ONLY will return only folder names.
  • Retrieved Trashed Files - Specify if you wish to retrieve files that are in the trash. *NO will return files not in the trash, *YES will return files both in not in the trash, *ONLY will return only files in the trash.------
  • CCSID - Enter a CCSID for data translation.
  • Debug - Enter *YES to debug this command.
  • Debug File - Enter the fully qualified path and name of the IFS file to store the debug data. If left blank the default of /tmp/g4g_<id>_ListFilesDebug.txt.<n> will be used where <id> is the ID associated with the request and <n> is the request sequence.